05. Binomial Distributions Quiz
Binomial Distributions Quiz
In this quiz, you will simulate coin flips using
np.random.binomial
to compute proportions for the following outcomes.
- A fair coin flip produces heads
- Five fair coin flips produce exactly one head
- Ten fair coin flips produce exactly four heads
- Five biased coin flips with P(H) = 0.8 produce exactly five heads
- Ten biased coin flips with P(H) = 0.15 produce at least three heads
Then, you'll compare these proportions with probabilities in the quizzes below.
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: jupyter
- Opened files (when workspace is loaded): n/a
QUIZ QUESTION: :
Use the proportions you observed in your simulation data above to state the probability of each of the following outcomes.
ANSWER CHOICES:
Outcome |
Probability |
---|---|
0.180 |
|
0.5 |
|
0.205 |
|
1 |
|
0.45 |
|
0.130 |
|
0.2 |
|
0.156 |
|
0.328 |
|
0 |
SOLUTION:
Outcome |
Probability |
---|---|
0.180 |
|
0.5 |
|
0.205 |
|
0.156 |
|
0.328 |